/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mabi.frontend;

import com.vaadin.Application;
import com.vaadin.terminal.gwt.server.ApplicationServlet;
import javax.inject.Inject;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;

/**
 *
 * @author User
 */
@WebServlet
public class ServletApp extends ApplicationServlet {
    
    @Inject
    FrontEndApp application;
    
    @Override
    public Class<? extends Application> getApplicationClass() {
        return FrontEndApp.class;
    }

    @Override
    public Application getNewApplication(HttpServletRequest request) {
        //return new FrontEndApp();
        return application;
    }   
}
